/**
 * @date 2:59:41 PM
 * StudentDao.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.dao;

import java.util.List;

import org.springframework.stereotype.Repository;
import com.qs.education.bean.dao.IBaseDao;
import com.qs.education.bean.entity.EducationStudent;

/**
 * @class StudentDao	
 * @author Warren
 * @description
 * @date Oct 31, 2018 
 */
@Repository
public interface IEducationStudentDao extends IBaseDao<EducationStudent>{
	
	/**
	 * @author Warren
	 * @param mobile
	 * @param password
	 * @return EducationStudent
	 * @description	根据手机号码和密码得到当前学生
	 * @date Oct 31, 2018
	 */
	public EducationStudent getEducationStudent(String mobile,String password);
	
	/**
	 * @author Warren
	 * @param mobile
	 * @return boolean
	 * @description
	 * @date Nov 6, 2018
	 */
	public EducationStudent findEducationStudentByMobile(String mobile);

	/**
	 * @Description 根据条件查询所有学生
	 * @author Jason
	 * @date Nov 12, 2018
	 * @param student
	 * @return
	 */
	public List<EducationStudent> findStudentByCondition(EducationStudent student);

	/**
	 * @Description  查询符合条件的学生的数量
	 * @author Jason
	 * @date Nov 19, 2018
	 * @param educationStudent
	 * @return
	 */
	public int getStudentCount(EducationStudent educationStudent);

	/**
	 * @Description 查询符合条件的学生信息
	 * @author Jason
	 * @date Nov 19, 2018
	 * @param educationStudent
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	public List<EducationStudent> getStudent(EducationStudent educationStudent, Integer currentPage, Integer pageSize);
}
